home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1997 / HAM Radio 1997.iso / vcls / tautobtn / readme.txt < prev    next >
Text File  |  1996-04-08  |  4KB  |  127 lines

  1. TAutoButton v 1.2a - DELPHI Visual Component
  2. --------------------------------------------
  3. (C)1995 Andrew McLean, Sydney, Australia
  4.  
  5. v1.0a - 21st May 1995 - Initial Release  
  6. v1.1a - 23rd May 1995 - Added ability to flash between bitmaps
  7. v1.2a - 26th May 1995 - Added ability to mask a button with the background
  8.             (Tautobutton only)
  9.  
  10. ------------------------------------------------
  11. e-mail:  andrewmc@widewest.com.au
  12. Website: http://widewest.com.au/delphi
  13. Website: http://widewest.com.au/aerosoft 
  14. (look here for a downloadable demo of another product of mine)
  15. ------------------------------------------------
  16.  
  17.  
  18. Purpose: Links 2 bitmaps together and when clicked, simulates a button.
  19.      Buttons can flash and also be masked over client window background.
  20.  
  21.  
  22.  
  23. TWO COMPONENTS
  24. --------------
  25.  
  26. Component 1 - TAutoButton (autoBtn.dcu)
  27. ----------------------------------------
  28. A Delphi Visual Component which allows 2 bitmaps to link together and act 
  29. as a button. An alternate bitmap can be specified for the 'up' position of 
  30. the button. Use this if you do not need a flashing button.
  31. This uses no timers at all and is the prefered component.
  32.  
  33. Component 2 - TFlashButton (autoBtnF.dcu)
  34. ------------------------------------------
  35. Includes all of the features of TAutoButton as well as automatically 
  36. flashing between bitmaps 'up' and 'alt'. You can enable flash 
  37. and set an interval. This component may have bugs in it.
  38.  
  39. *** WARNING ***
  40. Delphi will not run the flashing buttons from the compiler. You must exit 
  41. Delphi and return to the program manager.
  42. It is probably a problem with the component rather than Delphi although I've 
  43. tried everything.
  44. If anyone has any ideas, please let me know.
  45.  
  46. You can put up to about 30 buttons on forms before the timers run out.
  47.  
  48. Demo: EXAMPLE.EXE
  49.  
  50. Supplied: All the files required to add it to your component library.
  51.  
  52.         AUTOBTN.DCU     (the component)
  53.         AUTOBTN.DCR     (the component resource)
  54.  
  55.         AUTOBTNF.DCU    (the component)
  56.         AUTOBTNF.DCR    (the component resource)
  57.  
  58.  
  59. Component Palette: EXTRA (automatically created)
  60.  
  61. Graphics: You will need to supply the shape of your own button in the
  62.       up position and down position.
  63.  
  64. Additional: You can also load a 3rd bitmap and use it as an alternate
  65.         shape to the up position.
  66.  
  67. Distribution: You may distribute this ZIP file freely provided the
  68.           contents remain unchanged.
  69.  
  70.           You may use this software in a commercial product free of
  71.           charge. If you do use it in a commercial package, for my
  72.           own interests sake, please let me know.
  73.           
  74.           You are not permitted to sell the software unless compiled into
  75.           your application. ie. Don't sell this ZIP file or its contents,
  76.           or any associated file. You may not sell this component soley
  77.           as an inherited object or stand alone object.
  78.  
  79.           Please call if you wish to have changes implemented.
  80.  
  81. Key Properties: 
  82.         AutoSize    true
  83.         BitmapAlt   Tbitmap
  84.         BitmapDown  Tbitmap
  85.         BitmapMask  Tbitmap
  86.         BitmapUp    Tbitmap
  87.         Cursor      crDefault
  88.         DisplayAlt  false
  89.         Flash       false           (TFlashButton only)|
  90.         FlashInterval 500           (TFlashButton only)|
  91.         Height      
  92.         Hint        
  93.         Left
  94.         Name
  95.         ParentShowHint
  96.         ShowHint
  97.         Tag
  98.         Top
  99.         Visible     true
  100.         Width       
  101.  
  102. Events:     onClick
  103.         onMouseDown
  104.         onMouseMove
  105.         onMouseUp
  106.         
  107.  
  108. Notes:      The autosize property derives the height and width of the bitmap
  109.         from only the BitmapUp property. This means that you will not
  110.         see the correct size of the bitmap until you load BitmapUp.
  111.  
  112.         If this is a pain for people I'll change it!
  113.       
  114.         When using a mask in design mode, only the button and the black
  115.         mask is displayed, not the client background.
  116.  
  117. Comment: If you like this software or want additions to it, please e-mail
  118.      me at;
  119.  
  120.         andrewmc@widewest.com.au
  121.         
  122.         or web site
  123.  
  124.         http://widewest.com.au/delphi
  125.  
  126.         http://widewest.com.au/aerosoft 
  127.